package com.tjsinfo.tjsoa.documentationflow.xingzhengfawen.dao;

import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.springframework.orm.hibernate3.support.HibernateDaoSupport;

import com.tjsinfo.tjsoa.documentationflow.xingzhengfawen.vo.TXingzhengfawenBeizhu;

public class TXingzhengfawenBeizhuDAO extends HibernateDaoSupport implements ITXingzhengfawenBeizhuDAO{
	
	private static final Log log = LogFactory
	.getLog(TXingzhengfawenBeizhuDAO.class);
	
	public TXingzhengfawenBeizhu findById(String id) {
		log.debug("getting TXingzhengfawenBeizhu instance with id: " + id);
		try {
			TXingzhengfawenBeizhu instance = (TXingzhengfawenBeizhu) getHibernateTemplate()
					.get(
							"com.tjsinfo.tjsoa.documentationflow.xingzhengfawen.vo.TXingzhengfawenBeizhu",
							id);
			return instance;
		} catch (RuntimeException re) {
			log.error("get failed", re);
			throw re;
		}
	}

}
